package com.dotflat.fin.PO;

import com.dotflat.rest.PO.AreableObjectBasePO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import java.util.Date;

/**
 *  账单对象
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("收费账号")
public class FinPayAccountPO extends AreableObjectBasePO {
    @ApiModelProperty("是否启用")
    private Boolean enabled;

    @ApiModelProperty("账户类型, 0:未启用  1:微信 2:支付宝")
    private Integer accountType;

    @ApiModelProperty("商户名称")
    private String name;

    @ApiModelProperty("AppId  微信,支付宝必填")
    private String appId;

    @ApiModelProperty("AppSecret  微信必填")
    private String appSecret;

    @ApiModelProperty("商户ID  微信必填")
    private String mchId;

    @ApiModelProperty("商户支付密钥  微信必填")
    private String mchKey;

    @ApiModelProperty("支付宝公钥  支付宝必填")
    private String aliPublicKey;

    @ApiModelProperty("支付宝App公钥  支付宝必填")
    private String aliAppPublicKey;

    @ApiModelProperty("支付宝公钥  支付宝必填")
    private String aliAppPrivateKey;
}
